package fr.esiea.es_inf5042.business;

import java.util.List;

import android.location.Location;

public class Bargain {

	private int id;
	private User user;
	private String title;
	private String description;
	private List<Comment> comments;
	private Category category;
	private float averageMark;
	private Location location;		

	public Bargain(int id, User user, String title, String description, List<Comment> comments,
			Category category, float averageMark, Location location) {
		super();
		this.id = id;
		this.user = user;
		this.title = title;
		this.description = description;
		this.comments = comments;
		this.category = category;
		this.averageMark = averageMark;
		this.location = location;
	}

	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public List<Comment> getComments() {
		return comments;
	}

	public void setComments(List<Comment> comments) {
		this.comments = comments;
	}

	public float getAverageMark() {
		return averageMark;
	}

	public void setAverageMark(float averageMark) {
		this.averageMark = averageMark;
	}

	public User getUser() {
		return user;
	}

	public Location getLocation() {
		return location;
	}

	public Category getCategory() {
		return category;
	}	
		
}
